#pragma once

#include <iostream>
#include <vector>

typedef void (*task_t)(); // 定义一个函数指针

void task1()
{
  std::cout << "lol刷新日志" << std::endl;
}
void task2()
{
  std::cout << "lol刷新蓝量和血量" << std::endl;
}

void task3()
{
  std::cout << "lol更新野怪" << std::endl;
}

void task4()
{
  std::cout << "lol检测软件是否需要更新" << std::endl;
}

void task5()
{
  std::cout << "lol用户释放技能，更新蓝量" << std::endl;
}
void LoakTask(std::vector<task_t> *tasks)
{
  tasks->push_back(task1);
  tasks->push_back(task2);
  tasks->push_back(task3);
  tasks->push_back(task4);
  tasks->push_back(task5);
}
